<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.1/build/assets/skins/sam/skin.css">
<script src="http://yui.yahooapis.com/2.8.1/build/yahoo-dom-event/yahoo-dom-event.js"></script> 
<script src="http://yui.yahooapis.com/2.8.1/build/element/element-min.js"></script> 
<script src="http://yui.yahooapis.com/2.8.1/build/container/container_core-min.js"></script>
<script src="http://yui.yahooapis.com/2.8.1/build/menu/menu-min.js"></script>
<script src="http://yui.yahooapis.com/2.8.1/build/button/button-min.js"></script>
<script src="http://yui.yahooapis.com/2.8.1/build/editor/editor-min.js"></script>
<script type="text/javascript" src="/SpringWeb/javascript/textaera.js" ></script>
<title>上传文件</title>
</head>
<body class="yui-skin-sam">
	<h2>上传一张图片，不能大于5M。</h2>
	<h2>你可以输入你自己的感想，或者是对这个照片的描述。</h2>
	<textarea name="msgpost" id="msgpost" cols="50" rows="15">
    	<strong>你的</strong> HTML <em>代码</em> 将在这里呈现<br>
    	非常喜欢这个编辑器。
	</textarea>
	<form method="post" action="upload.html" enctype="multipart/form-data">
		<table>
			<tr>
				<td><input type="text" name="name" /></td>
			</tr>
			<tr>
				<td><input type="file" name="file" /></td>
			</tr>
			<tr>
				<td><input type="submit" value="上传" /></td>
			</tr>
		</table>
	</form>
</body>
</html>